package ed.hbut.supermarket1.service;

import ed.hbut.supermarket1.entity.Merchandise;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MerchandiseService {

    void postmechandise(Merchandise merchandise);

    List<Merchandise> getAllMerchandise();

    Merchandise getById(Integer id);

    void deleteById(Integer id);

    void update(Merchandise merchandise);
}
